package com.rxh.controller;

import com.rxh.pojo.cross.GrePayBean;
import com.rxh.trade.GrePay;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;


@RestController
public class TradeNotifyController {

    @Autowired
    private GrePay grePay;

    @RequestMapping(value = "/GrePayNotify")
    public String GrePayNotify(GrePayBean notify) {
        return grePay.tradeNotify(notify);
    }
}